import logging

def log_connect():
    logging.basicConfig(filename="./log/logs.log",filemode="w+",level=logging.DEBUG,
                        format="%(lineno)d-%(message)s--%(asctime)--%(levelname)s")